import VueRouter from "vue-router";
import ManPageRightTab1 from "@/pages/ManPageRightTab1";
import ManPageRightTab4 from "@/pages/ManPageRightTab4";
import ManPageRightTab3 from "@/pages/ManPageRightTab3";
import ManPageRightTab2 from "@/pages/ManPageRightTab2";
import Tab1_1 from "@/pages/Tab1/Tab1_1";
import Tab1_2 from "@/pages/Tab1/Tab1_2";
import Tab1_3 from "@/pages/Tab1/Tab1_3";
import Tab1_4 from "@/pages/Tab1/Tab1_4";
import Tab1_5 from "@/pages/Tab1/Tab1_5";

const vueRouter =  new VueRouter({
    routes:[
        {
            path:'/ManPageRightTab1',
            component:ManPageRightTab1,
            redirect:'/ManPageRightTab1/Tab1_1',
            children:[
                {
                    path:'Tab1_1',
                    component:Tab1_1,
                },
                {
                    path:'Tab1_2',
                    component:Tab1_2
                },
                {
                    path:'Tab1_3',
                    component:Tab1_3
                },
                {
                    path:'Tab1_4',
                    component:Tab1_4
                },
                {
                    path:'Tab1_5',
                    component:Tab1_5
                }
            ]
        },
        {
            path:'/ManPageRightTab2',
            component:ManPageRightTab2
        },
        {
            path:'/ManPageRightTab3',
            component:ManPageRightTab3
        },
        {
            path:'/ManPageRightTab4',
            component:ManPageRightTab4
        },
    ]
})


export default vueRouter
